# 另一个app里新建的urls代码
from django.urls import path
from login.views import User_login, User_register, upload, stream_video, get_code  # 导入函数

urlpatterns = [
    path('login/', User_login.as_view()),
    path('register/', User_register.as_view()),
    path('getCode/', get_code),
    path('upimg/', upload),
    path('upimg/video/<arg_path>/', stream_video)

]
